﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CaseProfileProperty.ascx.cs" Inherits="PayrollHR.Administration.Modules.CaseProfileProperty" %>
<%@ Register Src="DatePicker.ascx" TagName="DatePicker" TagPrefix="uc3" %>
<%@ Register Src="DecimalTextBox.ascx" TagName="DecimalTextBox" TagPrefix="uc2" %>
<%@ Register Src="ToolTipLabelControl.ascx" TagName="ToolTipLabelControl" TagPrefix="uc1" %>

<style type="text/css">
</style>
<table class="auto-style1">
    <tr>
        <td class="auto-style2">
            <uc1:ToolTipLabelControl runat="server" ID="lblProPropertyLand" Text="Nhà đất"
                ToolTip="Nhà đất" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style2" colspan="3">
            <asp:TextBox ID="txtProPropertyLand" TextMode="MultiLine" runat="server" Width="99%"></asp:TextBox>
        </td>
        <td class="auto-style2">&nbsp;
            <uc1:ToolTipLabelControl runat="server" ID="lblProPropertyAccountValue" Text="Sổ tiết kiệm "
                ToolTip="Sổ tiết kiệm trị giá" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style2">
            <asp:TextBox ID="txtProPropertyAccountValue" TextMode="MultiLine" runat="server" Width="99%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblProPropertyCar" Text="Xe ô tô/ xe tải"
                ToolTip="Xe ô tô/ xe tải" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="3">
            <asp:TextBox ID="txtProPropertyCar" runat="server" Width="99%"></asp:TextBox>
        </td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblProPropertyOther" Text="Khác"
                ToolTip="Khác" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="5">
            <asp:TextBox ID="txtProPropertyOther" runat="server" Height="66px" TextMode="MultiLine" Width="100%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td colspan="6">
            <asp:GridView ID="gvObject" runat="server" AutoGenerateColumns="False" Width="100%"
                OnPageIndexChanging="gvObject_PageIndexChanging" AllowPaging="true"
                PageSize="12" OnRowDataBound="gvObject_RowDataBound" OnRowDeleting="gvObject_RowDeleting">
                <Columns>
                    <asp:TemplateField HeaderText="Giấy tờ cần thiết" ItemStyle-Width="20%">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("ObjectName").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Bản Gốc"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:CheckBox ID="cbOriginalCopy0" runat="server" Checked='<%# Eval("OriginalCopy") %>' />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Sao y"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:CheckBox ID="cbNotOriginalCopy" runat="server" Checked='<%# Eval("duplicate") %>' />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày Yêu Cầu"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("OnRequest").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày Nộp"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("DateSubmitted").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ghi Chú"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("Note").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Delete" HeaderStyle-HorizontalAlign="Center"
                        ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:HiddenField ID="hfProfileID" runat="server" Value='<%# Eval("ProfileID") %>' />
                            <asp:LinkButton ID="lbDelete" runat="server" CommandName="Delete" Text="Delete" />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
                    </asp:TemplateField>
                </Columns>
                <PagerSettings PageButtonCount="50" Position="TopAndBottom" />
            </asp:GridView>




        </td>
    </tr>
    <tr>
        <td class="auto-style4">
            <uc1:ToolTipLabelControl runat="server" ID="lblObjectID" Text="<% $PayrollResources:Admin.CaseProfileProperty.ObjectID.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.ObjectID.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style2" rowspan="2">
            <uc1:ToolTipLabelControl runat="server" ID="lblOriginalCopy" Text="<% $PayrollResources:Admin.CaseProfileProperty.OriginalCopy.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.OriginalCopy.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style2" rowspan="2">
            <uc1:ToolTipLabelControl runat="server" ID="lblNotOriginalCopy" Text="<% $PayrollResources:Admin.CaseProfileProperty.NotOriginalCopy.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.NotOriginalCopy.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblOnRequest" Text="<% $PayrollResources:Admin.CaseProfileProperty.OnRequest.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.OnRequest.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style1">&nbsp;
            <uc1:ToolTipLabelControl runat="server" ID="lblDateSubmitted" Text="<% $PayrollResources:Admin.CaseProfileProperty.DateSubmitted.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.DateSubmitted.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style1">
            <uc1:ToolTipLabelControl runat="server" ID="lblNote" Text="<% $PayrollResources:Admin.CaseProfileProperty.Note.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.Note.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
    </tr>
    <tr>
        <td class="auto-style4" rowspan="2">
            <asp:DropDownList ID="ddlObjectID" runat="server" Width="100%">
                <asp:ListItem>-none-</asp:ListItem>
                <asp:ListItem>item1</asp:ListItem>
                <asp:ListItem>item2</asp:ListItem>
                <asp:ListItem>Lựa chọn item trong list</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td rowspan="2">
            <uc3:DatePicker ID="dpOnRequest" runat="server" />
        </td>
        <td class="auto-style1" rowspan="2">&nbsp;<uc3:DatePicker ID="dp1DateSubmitted" runat="server" />
        </td>
        <td class="auto-style1" rowspan="2">
            <asp:TextBox ID="txtNote" runat="server" Height="66px" TextMode="MultiLine" Width="99%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: center">
            <asp:CheckBox ID="cbOriginalCopy" runat="server" />
        </td>
        <td style="text-align: center">
            <asp:CheckBox ID="cbNotOriginalCopy" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td class="auto-style1">&nbsp;</td>
        <td style="text-align: right">
            <asp:Button ID="btnAdd" runat="server" CssClass="adminButtonBlue" OnClick="btnAdd_Click" Text="<% $PayrollResources:Admin.CaseProfileProperty.Add.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileProperty.Add.Tooltip %>" CausesValidation="False" />
        </td>
    </tr>
</table>






